package com.ouc.edu.ssm.service.impl;

import com.ouc.edu.ssm.bean.Paraminfo;
import com.ouc.edu.ssm.mapper.QueryChiefListMapper;
import com.ouc.edu.ssm.service.QueryParamInfoByMarineIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
@Service
public class QueryParamInfoByMarineIdServiceImpl implements QueryParamInfoByMarineIdService {
    @Autowired
    private QueryChiefListMapper queryChiefListMapper;

    public void setQueryChiefListMapper(QueryChiefListMapper queryChiefListMapper) {
        this.queryChiefListMapper = queryChiefListMapper;
    }

    public List<Paraminfo> queryParamInfoByMarineId(int marineid) {
        List<Paraminfo> parames=queryChiefListMapper.queryParamInfoByMarineId(marineid);
        return parames;
    }
}
